$(function(){
	//验证邮箱
	$('.button_email').on('click',function() {
		$('.email_detailed').show();
	});
	//添加工作经历
	$('.add-work-exper').on('click',function() {
		var Str = '<div class="col-xs-12"><input type="text" class="form-control" placeholder="公司名称"></div>'+		    
				    '<div class="col-xs-12"><input type="text" class="form-control" placeholder="你的职位"></div>'+
				    '<div class="col-xs-6"><input type="date" class="form-control" placeholder="起始时间"></div>'+
				    '<div class="col-xs-6"><input type="date" class="form-control" placeholder="起始时间"></div>';
		$(this).before(Str);
	});
	//添加更多教育经历
	$('.add-more-education').on('click',function(){
		var Str='<div class="col-xs-12"><input type="text" class="form-control" placeholder="学校名称"></div>'+		    
				'<div class="col-xs-12"><input type="text" class="form-control" placeholder="专业"></div>'+
				'<div class="col-xs-6"><select class="selectpicker"><option>高中</option><option>大专</option><option>本科及以上</option></select><i class="glyphicon glyphicon-play" style="top:12px;"></i></div>'+
				'<div class="col-xs-6"><input type="date" class="form-control"></div>';
		$(this).before(Str);
	})
})